package cn.colins.raft.enity;

import cn.colins.raft.rpc.domin.RpcMsgId;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description 日志Rpc请求
 * @Author czl
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2023/7/19
 */
@Builder
@Data
public class AppendEntriesPreCommit extends RpcMsgId implements Serializable {

    /** 预提交日志ID */
    private long preCommitLogId;

    /** 预提交日志，还没有索引 */
    private LogEntity entries;

}
